<template>
  <!-- 清算账户自动拆借管理审核明细页面弹出框-->
  <el-dialog :title="title"  center :visible.sync="open" width="1024px" append-to-body :close-on-click-modal="false">
    <el-form ref="detailForm" :model="detailForm"  label-width="140px">

      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="征收机关大类代码" prop="deptCode">
            <el-select style="width: 100%;" v-model="detailForm.deptCode" placeholder="征收机关大类代码" :disabled="true">
              <el-option
                v-for="dict in dictMap.DEPT_CODE"
                :key="dict.value"
                :label="`${dict.value}-${dict.text}`"
                :value="dict.value"
              ></el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="预算科目代码" prop="subjectCode">
            <el-input v-model="detailForm.subjectCode" :disabled="true"/>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="发生额币种" prop="curcd">
            <el-select style="width: 100%;" v-model="detailForm.curcd" placeholder="发生额币种" :disabled="true">
              <el-option
                v-for="dict in dictMap.CURCD"
                :key="dict.value"
                :label="`${dict.value}-${dict.text}`"
                :value="dict.value"
              ></el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="发生额" prop="amount">
            <ht-amount-input
              v-model="detailForm.amount"
              placeholder="发生额"
              :disable=true
            ></ht-amount-input>
          </el-form-item>
        </el-col>
      </el-row>

    </el-form>
    <div slot="footer" class="dialog-footer" align="center">
      <el-button type="primary" @click="cancel">关 闭</el-button>
    </div>


  </el-dialog>
</template>
<script>
import HtAmountInput from "@/views/components/HtAmountInput";
import { approve, reject } from "@/api/cnaps/saps/clearAcctAutoMng/clear_manage_approve.js";
export default {
  name: "BepsDebitReceiptAuditApproveDetailB104",
  components: {HtAmountInput},
  props: {
    dictMap: {
      type: Object,
      default: () => {
        return {};
      },
    },
    detailForm: {
      type: Object,
      default: () => {
        return {};
      },
    },
  },
  data() {
    return {
      // 是否显示弹出层
      open: false,
      title:"国库资金借记划拨明细"
    };
  },
  mounted() {},
  methods: {
    cancel() {
      this.open = false;
    },
    show() {
      this.open = true;
    },
  },
};
</script>
<style>
.label-header-msg {
  font-weight: bold;
}

.form-card {
  margin-bottom: 10px;
}
</style>
